/*
 * Copyright (c) 2009-2013 EvTech Project
 * All rights reserved.
 * 
 * This file is part of Symbol Matching.
 *
 * Symbol Matching is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version.
 *
 * Symbol Matching is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Symbol Matching.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package fi.honkalampisaatio.reaktiopeli.xml;


import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;

@XmlRootElement(namespace = "fi.honkalampisaatio.language")
@XmlAccessorType(XmlAccessType.NONE)
public class LanguageSettings {
	// XmLElementWrapper generates a wrapper element around XML representation
	@XmlElementWrapper(name = "values")
	// XmlElement sets the name of the entities
	@XmlElement(name = "pair")
	private ArrayList<KeyValuePair> valueList;

	@XmlElement(name = "language")
	private String language;

	public ArrayList<KeyValuePair> getValueList() {
		return valueList;
	}

	public void setValueList(ArrayList<KeyValuePair> valueList) {
		this.valueList = valueList;
	}
	
	public String getLanguage()
	{
		return language;
	}

	public void setLanguage(String language)
	{
		this.language = language;
	}

	
	public String toString()
	{
		return language;
	}
}